<?php

namespace YouBaoLian\Application\Request;

use YouBaoLian\Application\Response\VehicleRenewalResponse;

class VehicleRenewalRequest extends Request
{
    /**
     * 城市编码
     * @var string $cityCode
     */
    private $cityCode = '';

    /**
     * 发动机号
     * @var string $engineNo
     */
    private $engineNo = '';

    /**
     * 报价配置ID
     * @var int $configId
     */
    private $configId = 0;

    /**
     * 车架号
     * @var string $frameNo
     */
    private $frameNo = '';

    /**
     * 车牌号
     * @var string $licenseNo
     */
    private $licenseNo = '';

    /**
     * 车主身份证号码
     * @var string $ownerIDCard
     */
    private $ownerIDCard = '';

    /**
     * 保司ID
     * @var int $supplierId
     */
    private $supplierId = 0;

    /**
     * customerId
     * @var int $customerId
     */
    protected $customerId;

    /**
     * @var string $method
     */
    protected $method = 'iebcVehicle.renewal';

    /**
     * @var string $response
     */
    protected $response = VehicleRenewalResponse::class;

    /**
     * @return string
     */
    public function getMethod(): string
    {
        return $this->method;
    }

    /**
     * @return array
     */
    public function getBizContent(): array
    {
        $this->bizContent = [
            'cityCode' => $this->cityCode,
            'engineNo' => $this->engineNo,
            'configId' => $this->configId,
            'frameNo' => $this->frameNo,
            'licenseNo' => $this->licenseNo,
            'ownerIDCard' => $this->ownerIDCard,
            'supplierId' => $this->supplierId,
            'customerId' => $this->customerId,
        ];
        return $this->bizContent;
    }

    /**
     * @param string $cityCode
     */
    public function setCityCode(string $cityCode): void
    {
        $this->cityCode = $cityCode;
    }

    /**
     * @param string $engineNo
     */
    public function setEngineNo(string $engineNo): void
    {
        $this->engineNo = $engineNo;
    }

    /**
     * @param int $configId
     */
    public function setConfigId(int $configId): void
    {
        $this->configId = $configId;
    }

    /**
     * @param string $frameNo
     */
    public function setFrameNo(string $frameNo): void
    {
        $this->frameNo = $frameNo;
    }

    /**
     * @param string $licenseNo
     */
    public function setLicenseNo(string $licenseNo): void
    {
        $this->licenseNo = $licenseNo;
    }

    /**
     * @param string $ownerIDCard
     */
    public function setOwnerIDCard(string $ownerIDCard): void
    {
        $this->ownerIDCard = $ownerIDCard;
    }

    /**
     * @param int $supplierId
     */
    public function setSupplierId(int $supplierId): void
    {
        $this->supplierId = $supplierId;
    }

    /**
     * @param mixed $customerId
     */
    public function setCustomerId(int $customerId): void
    {
        $this->customerId = $customerId;
    }

}
